/*----------------------------------------------------------------------
  - File name      : main.h
  - Author         : Quark Team
  - Update date    : 2020-08-23                   
  -	Copyright      : Gevico Electronic studio   
  - Module comments: Header file of main body.
-----------------------------------------------------------------------*/
#ifndef __MAIN_H_
#define __MAIN_H_
/*-----------------------------------------------------------------------
|                               INCLUDES                                |
-----------------------------------------------------------------------*/

/*--------------------------------------------------------
| @Description: Gevico Library header file               |
--------------------------------------------------------*/
#include "STC8Ax_STARTUP.h" //Gwlib
#include "dev_config.h"  //Device
/*--------------------------------------------------------
| @Description: C Library header file                    |
--------------------------------------------------------*/
#include "stdio.h"
#include "math.h"
#include "intrins.h"
/*-----------------------------------------------------------------------
|                                 DATA                                  |
-----------------------------------------------------------------------*/

/*-----------------------------------------------------------------------
|                             API FUNCTION                              |
-----------------------------------------------------------------------*/
/*--------------------------------------------------------
| @Description: MCU hardware initialization function     |
--------------------------------------------------------*/
void STC8Ax_PER_Init(void);
/*--------------------------------------------------------
| @Description: MCU peripheral initialization function   |
--------------------------------------------------------*/
void STC8Ax_SYSCLK_Config(void);
void STC8Ax_GPIO_Config(void);
void STC8Ax_EXTI_Config(void);
void STC8Ax_TIMER_Config(void);
void STC8Ax_UART_Config(void);
void STC8Ax_COMP_Config(void);
void STC8Ax_ADC_Config(void);
void STC8Ax_PCA_Config(void);
void STC8Ax_PWM_Config(void);

#endif
/*-----------------------------------------------------------------------
|          END OF FLIE        (C) COPYRIGHT Gevico Electronics          | 
-----------------------------------------------------------------------*/
